<script setup>

import CostomerCascaderVue from '../custom-cascader.vue'
import { getIndustryCategory } from '@/api';
import { ref } from 'vue';
defineProps({
  modelValue: Array | String
})
defineEmits(['update:modelValue'])
const CascaderVueInstance = ref(null)
defineExpose(CascaderVueInstance)
</script>
<template>
  <CostomerCascaderVue :model-value="modelValue" @update:model-value="$emit('update:modelValue', $event)"
    ref="CascaderVueInstance" v-bind="$attrs" :props="{ label: 'name' }" :fetchfunc="getIndustryCategory" />
</template>